# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files('mach/**'):
    BUG_COMPONENT = ('Core', 'mach')

with Files('mozbuild/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

SPHINX_PYTHON_PACKAGE_DIRS += [
    'mach',
    'mozbuild/mozbuild',
    'mozbuild/mozpack',
    'mozlint/mozlint',
    'mozversioncontrol/mozversioncontrol',
]

SPHINX_TREES['mach'] = 'mach/docs'

PYTHON_UNIT_TESTS += [
    'mach/mach/test/test_conditions.py',
    'mach/mach/test/test_config.py',
    'mach/mach/test/test_dispatcher.py',
    'mach/mach/test/test_entry_point.py',
    'mach/mach/test/test_error_output.py',
    'mach/mach/test/test_logger.py',
    'mozbuild/dumbmake/test/test_dumbmake.py',
    'mozbuild/mozbuild/test/action/test_buildlist.py',
    'mozbuild/mozbuild/test/action/test_generate_browsersearch.py',
    'mozbuild/mozbuild/test/action/test_package_fennec_apk.py',
    'mozbuild/mozbuild/test/backend/test_android_eclipse.py',
    'mozbuild/mozbuild/test/backend/test_build.py',
    'mozbuild/mozbuild/test/backend/test_configenvironment.py',
    'mozbuild/mozbuild/test/backend/test_recursivemake.py',
    'mozbuild/mozbuild/test/backend/test_visualstudio.py',
    'mozbuild/mozbuild/test/compilation/test_warnings.py',
    'mozbuild/mozbuild/test/configure/lint.py',
    'mozbuild/mozbuild/test/configure/test_checks_configure.py',
    'mozbuild/mozbuild/test/configure/test_compile_checks.py',
    'mozbuild/mozbuild/test/configure/test_configure.py',
    'mozbuild/mozbuild/test/configure/test_lint.py',
    'mozbuild/mozbuild/test/configure/test_moz_configure.py',
    'mozbuild/mozbuild/test/configure/test_options.py',
    'mozbuild/mozbuild/test/configure/test_toolchain_configure.py',
    'mozbuild/mozbuild/test/configure/test_toolchain_helpers.py',
    'mozbuild/mozbuild/test/configure/test_toolkit_moz_configure.py',
    'mozbuild/mozbuild/test/configure/test_util.py',
    'mozbuild/mozbuild/test/controller/test_ccachestats.py',
    'mozbuild/mozbuild/test/controller/test_clobber.py',
    'mozbuild/mozbuild/test/frontend/test_context.py',
    'mozbuild/mozbuild/test/frontend/test_emitter.py',
    'mozbuild/mozbuild/test/frontend/test_namespaces.py',
    'mozbuild/mozbuild/test/frontend/test_reader.py',
    'mozbuild/mozbuild/test/frontend/test_sandbox.py',
    'mozbuild/mozbuild/test/test_base.py',
    'mozbuild/mozbuild/test/test_containers.py',
    'mozbuild/mozbuild/test/test_dotproperties.py',
    'mozbuild/mozbuild/test/test_expression.py',
    'mozbuild/mozbuild/test/test_jarmaker.py',
    'mozbuild/mozbuild/test/test_line_endings.py',
    'mozbuild/mozbuild/test/test_makeutil.py',
    'mozbuild/mozbuild/test/test_mozconfig.py',
    'mozbuild/mozbuild/test/test_mozinfo.py',
    'mozbuild/mozbuild/test/test_preprocessor.py',
    'mozbuild/mozbuild/test/test_pythonutil.py',
    'mozbuild/mozbuild/test/test_testing.py',
    'mozbuild/mozbuild/test/test_util.py',
    'mozbuild/mozpack/test/test_chrome_flags.py',
    'mozbuild/mozpack/test/test_chrome_manifest.py',
    'mozbuild/mozpack/test/test_copier.py',
    'mozbuild/mozpack/test/test_errors.py',
    'mozbuild/mozpack/test/test_files.py',
    'mozbuild/mozpack/test/test_manifests.py',
    'mozbuild/mozpack/test/test_mozjar.py',
    'mozbuild/mozpack/test/test_packager.py',
    'mozbuild/mozpack/test/test_packager_formats.py',
    'mozbuild/mozpack/test/test_packager_l10n.py',
    'mozbuild/mozpack/test/test_packager_unpack.py',
    'mozbuild/mozpack/test/test_path.py',
    'mozbuild/mozpack/test/test_unify.py',
    'mozlint/test/test_formatters.py',
    'mozlint/test/test_parser.py',
    'mozlint/test/test_roller.py',
    'mozlint/test/test_types.py',
]
